package com.ruoyi.smile.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 轮播图对象 mc_banner
 * 
 * @author xin
 * @date 2025-03-07
 */
public class McBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 轮播图 */
    @Excel(name = "轮播图")
    private String imageUrl;

    /** 标题/描述 */
    @Excel(name = "标题/描述")
    private String title;

    /** 轮播图类型 */
    @Excel(name = "轮播图类型")
    private Long type;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Long order;

    /** 轮播图的背景色 */
    @Excel(name = "轮播图的背景色")
    private String backgroundColor;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setOrder(Long order) 
    {
        this.order = order;
    }

    public Long getOrder() 
    {
        return order;
    }
    public void setBackgroundColor(String backgroundColor) 
    {
        this.backgroundColor = backgroundColor;
    }

    public String getBackgroundColor() 
    {
        return backgroundColor;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("imageUrl", getImageUrl())
            .append("title", getTitle())
            .append("type", getType())
            .append("order", getOrder())
            .append("backgroundColor", getBackgroundColor())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
